export const getPipelineChartOption = (id) => {
  switch (id) {
    case 1:
      return {
        // backgroundColor: '#404040',
        backgroundColor: '#fff',
        grid: {
          left: '5%',
          right: '10%',
          bottom: '20%',
          top: '20%'
        },
        tooltip: {
          trigger: 'axis',
          // backgroundColor: 'rgba(255, 255, 255, 0.8)',
          // borderColor: '#4E7DD0',
          formatter: function (params) {
            return `里程：${params[0].axisValue} km <br/>高程：${params[0].data} m`
          },
          textStyle: {
            color: '#333'
          }
        },
        title: {
          text: '乌尔禾稀油-百克站D219原油管道高程图',
          textStyle: {
            // color: '#fff',
            fontSize: 16
          },
          top: 0,
          left: 'center'
        },
        xAxis: {
          type: 'category',
          name: '里程(km)',
          data: [
            0.0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5, 0.55, 0.6, 0.65, 0.7, 0.75,
            0.8, 0.85, 0.9, 0.95, 1.0, 1.05, 1.1, 1.15, 1.2, 1.25, 1.3, 1.35, 1.4, 1.45, 1.5, 1.55,
            1.6, 1.65, 1.7, 1.75, 1.8, 1.85, 1.9, 1.95, 2.0, 2.05, 2.1, 2.15, 2.2, 2.25, 2.3, 2.35,
            2.4, 2.45, 2.5, 2.55, 2.6, 2.65, 2.7, 2.75, 2.8, 2.85, 2.9, 2.95, 3.0, 3.05, 3.1, 3.15,
            3.2, 3.25, 3.3, 3.35, 3.4, 3.45, 3.5, 3.55, 3.6, 3.65, 3.7, 3.75, 3.8, 3.85, 3.9, 3.95,
            4.0, 4.05, 4.1, 4.15, 4.2, 4.25, 4.3, 4.35, 4.4, 4.45, 4.5, 4.55, 4.6, 4.65, 4.7, 4.75,
            4.8, 4.85, 4.9, 4.95, 5.0, 5.05, 5.1, 5.15, 5.2, 5.25, 5.3, 5.35, 5.4, 5.45, 5.5, 5.55,
            5.6, 5.65, 5.7, 5.75, 5.8, 5.85, 5.9, 5.95, 6.0, 6.05, 6.1, 6.15, 6.2, 6.25, 6.3, 6.35,
            6.4, 6.45, 6.5, 6.55, 6.6, 6.65, 6.7, 6.75, 6.8, 6.85, 6.9, 6.95, 7.0, 7.05, 7.1, 7.15,
            7.2, 7.25, 7.3, 7.35, 7.4, 7.45, 7.5, 7.55, 7.6, 7.65, 7.7, 7.75, 7.8, 7.85, 7.9, 7.95,
            8.0, 8.05, 8.1, 8.15, 8.2, 8.25, 8.3, 8.35, 8.4, 8.45, 8.5, 8.55, 8.6, 8.65, 8.7, 8.75,
            8.8, 8.85, 8.9, 8.95, 9.0, 9.05, 9.1, 9.15, 9.2, 9.25, 9.3, 9.35, 9.4, 9.45, 9.5, 9.55,
            9.6, 9.65, 9.7, 9.75, 9.8, 9.85, 9.9, 9.95, 10.0, 10.05, 10.1, 10.15, 10.2, 10.25, 10.3,
            10.35, 10.4, 10.45, 10.5, 10.55, 10.6, 10.65, 10.7, 10.75, 10.8, 10.85, 10.9, 10.95,
            11.0, 11.05, 11.1, 11.15, 11.2, 11.25, 11.3, 11.35, 11.4, 11.45, 11.5, 11.55, 11.6,
            11.65, 11.7, 11.75, 11.8, 11.85, 11.9, 11.95, 12.0, 12.05, 12.1, 12.15, 12.2, 12.25,
            12.3, 12.35, 12.4, 12.45, 12.5, 12.55, 12.6, 12.65, 12.7, 12.75, 12.8, 12.85, 12.9,
            12.95, 13.0, 13.05, 13.1, 13.15, 13.2, 13.25, 13.3, 13.35, 13.4, 13.45, 13.5, 13.55,
            13.6, 13.65, 13.7, 13.75, 13.8, 13.85, 13.9, 13.95, 14.0, 14.05, 14.1, 14.15, 14.2,
            14.25, 14.3, 14.35, 14.4, 14.45, 14.5, 14.55, 14.6, 14.65, 14.7, 14.75, 14.8, 14.85,
            14.9, 14.95, 15.0, 15.05, 15.1, 15.15, 15.2, 15.25, 15.3, 15.35, 15.4, 15.45, 15.5,
            15.55, 15.6, 15.65, 15.7, 15.75, 15.8, 15.85, 15.9, 15.95, 16.0, 16.05, 16.1, 16.15,
            16.2, 16.25, 16.3, 16.35, 16.4, 16.45, 16.5, 16.55, 16.6, 16.65, 16.7, 16.75, 16.8,
            16.85, 16.9, 16.95, 17.0, 17.05, 17.1, 17.15, 17.2, 17.25, 17.3, 17.35, 17.4, 17.45,
            17.5, 17.55, 17.6, 17.65, 17.7, 17.75, 17.8, 17.85, 17.9, 17.95, 18.0, 18.05, 18.1,
            18.15, 18.2, 18.25, 18.3, 18.35, 18.4, 18.45, 18.5, 18.55, 18.6, 18.65, 18.7, 18.75,
            18.8, 18.85, 18.9, 18.95, 19.0, 19.05, 19.1, 19.15, 19.2, 19.25, 19.3, 19.35, 19.4,
            19.45, 19.5, 19.55, 19.6, 19.65, 19.7, 19.75, 19.8, 19.85, 19.9, 19.95, 20.0, 20.05,
            20.1, 20.15, 20.2, 20.25, 20.3, 20.35, 20.4, 20.45, 20.5, 20.55, 20.6, 20.65, 20.7,
            20.75, 20.8, 20.85, 20.9, 20.95, 21.0, 21.05, 21.1, 21.15, 21.2, 21.25, 21.3, 21.35,
            21.4, 21.45, 21.5, 21.55, 21.6, 21.65, 21.7, 21.75, 21.8, 21.85, 21.9, 21.95, 22.0,
            22.05, 22.1, 22.15, 22.2, 22.25, 22.3, 22.35, 22.4, 22.45, 22.5, 22.55, 22.6, 22.65,
            22.7, 22.75, 22.8, 22.85, 22.9, 22.95, 23.0, 23.05, 23.1, 23.15, 23.2, 23.25, 23.3,
            23.35, 23.4, 23.45, 23.5, 23.55, 23.6, 23.65, 23.7, 23.75, 23.8, 23.85, 23.9, 23.95,
            24.0, 24.05, 24.1, 24.15, 24.2, 24.25, 24.3, 24.35, 24.4, 24.45, 24.5, 24.55, 24.6,
            24.65, 24.7, 24.75, 24.8, 24.85, 24.9, 24.95, 25.0, 25.05, 25.1, 25.15, 25.2, 25.25,
            25.3, 25.35, 25.4, 25.45, 25.5, 25.55, 25.6, 25.65, 25.7, 25.75, 25.8, 25.85, 25.9,
            25.95, 26.0, 26.05, 26.1, 26.15, 26.2, 26.25, 26.3, 26.35, 26.4, 26.45, 26.5, 26.55,
            26.6, 26.65
          ],
          axisLabel: {
            // color: '#fff',
            fontSize: 12
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        yAxis: {
          type: 'value',
          name: '高程(m)',
          nameTextStyle: {
            // color: '#fff',
            fontSize: 14,
            padding: [0, 0, 10, 0]
          },
          axisLabel: {
            // color: '#fff',
            fontSize: 12
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        series: [
          {
            data: [
              261.957, 262.157, 262.355, 262.561, 262.376, 262.896, 262.892, 262.649, 262.549,
              262.912, 262.859, 262.448, 262.995, 263.055, 263.109, 262.505, 262.515, 262.062,
              263.01, 263.029, 263.479, 263.675, 263.758, 263.845, 262.625, 263.629, 263.987,
              264.53, 265.166, 266.646, 266.821, 265.986, 266.893, 267.449, 267.628, 268.021,
              267.788, 268.35, 267.927, 268.803, 268.621, 268.544, 268.647, 268.419, 268.571,
              268.344, 269.052, 269.703, 268.926, 269.646, 269.432, 269.443, 269.108, 269.465,
              269.37, 269.83, 269.833, 270.317, 270.231, 269.887, 270.129, 270.08, 270.431, 270.074,
              270.475, 270.385, 270.509, 270.216, 270.981, 270.9, 270.802, 271.108, 271.066,
              271.283, 271.457, 271.222, 271.128, 270.993, 271.172, 271.309, 271.843, 271.78,
              271.641, 272.091, 272.003, 272.439, 272.148, 272.435, 271.306, 271.32, 272.314,
              271.785, 272.033, 271.757, 272.038, 272.255, 272.447, 272.45, 272.754, 272.667,
              272.824, 272.815, 273.187, 273.246, 273.271, 273.236, 273.529, 273.192, 273.412,
              273.296, 273.481, 273.683, 273.922, 273.997, 273.966, 274.42, 273.858, 274.368,
              274.481, 274.505, 274.339, 274.722, 274.429, 274.488, 274.217, 274.613, 274.845,
              274.946, 275.043, 275.383, 275.671, 276.079, 276.301, 276.309, 276.642, 276.617,
              276.835, 276.948, 276.932, 276.906, 277.42, 277.703, 277.795, 278.088, 278.127,
              278.432, 278.111, 277.81, 277.491, 277.422, 277.346, 277.434, 277.498, 277.425,
              277.477, 277.564, 277.483, 277.78, 277.666, 278.373, 278.226, 278.493, 278.117,
              278.253, 278.23, 278.004, 278.012, 277.778, 278.489, 278.418, 278.48, 278.652,
              278.501, 278.377, 278.663, 278.324, 278.241, 278.353, 278.349, 278.362, 278.186,
              277.975, 278.295, 278.402, 278.308, 278.4, 278.43, 278.294, 278.537, 278.372, 277.969,
              277.892, 277.808, 277.474, 277.388, 277.662, 277.675, 277.177, 277.529, 277.851,
              277.14, 277.38, 277.578, 277.566, 277.646, 278.006, 281.3, 285.47, 286.38, 286.867,
              286.894, 287.071, 287.404, 287.014, 286.299, 285.962, 286.121, 285.849, 284.789,
              283.335, 284.359, 284.772, 285.261, 285.13, 284.898, 284.425, 283.383, 282.268,
              282.678, 283.467, 283.389, 283.518, 283.412, 282.813, 283.636, 283.988, 283.875,
              283.171, 283.063, 283.453, 282.433, 282.609, 282.741, 281.622, 278.989, 272.463,
              270.258, 267.867, 265.395, 263.275, 262.072, 261.139, 260.08, 259.004, 258.624,
              257.611, 257.082, 256.135, 255.518, 256.261, 255.085, 255.799, 256.316, 255.342,
              254.944, 254.931, 254.635, 253.873, 252.848, 251.794, 251.607, 251.408, 251.046,
              251.155, 251.193, 251.252, 250.865, 250.782, 250.587, 250.539, 250.739, 250.688,
              250.774, 250.628, 250.245, 249.881, 249.407, 249.4, 249.135, 249.155, 249.118,
              249.362, 249.139, 249.169, 249.1, 249.065, 249.086, 249.602, 248.657, 249.178,
              249.852, 251.746, 254.392, 250.243, 249.369, 249.615, 250.965, 251.823, 254.825,
              255.078, 255.54, 255.748, 255.596, 256.431, 256.782, 257.207, 256.864, 255.882,
              254.936, 255.89, 256.156, 256.762, 256.974, 257.829, 258.317, 260.158, 261.203,
              262.658, 263.232, 263.745, 263.021, 264.107, 264.024, 267.384, 268.004, 268.776,
              268.191, 270.194, 270.369, 271.09, 272.047, 271.716, 272.112, 273.737, 274.871,
              275.549, 274.935, 276.577, 276.923, 277.617, 279.4, 281.066, 282.954, 285.867,
              289.045, 291.274, 292.399, 292.914, 293.142, 293.041, 293.11, 293.222, 293.442,
              293.355, 293.087, 293.155, 293.217, 293.192, 293.212, 293.012, 292.739, 292.851,
              292.72, 292.474, 292.625, 292.346, 292.656, 292.637, 292.728, 292.763, 292.932,
              292.968, 292.969, 292.874, 293.136, 293.14, 293.493, 292.999, 292.386, 292.14,
              292.221, 292.607, 292.62, 291.24, 291.428, 291.434, 292.548, 294.277, 294.041,
              293.994, 294.172, 292.425, 291.869, 291.876, 291.906, 292.434, 293.38, 294.667,
              294.058, 294.554, 294.796, 294.917, 295.37, 294.6, 293.857, 292.911, 293.819, 294.049,
              293.97, 293.69, 293.998, 293.424, 292.002, 290.712, 290.655, 291.981, 291.637,
              291.811, 292.23, 293.785, 295.456, 295.483, 294.471, 294.05, 293.526, 293.934,
              294.829, 293.61, 292.422, 291.254, 291.025, 291.347, 291.86, 291.75, 293.228, 293.111,
              292.518, 292.911, 293.004, 293.466, 293.608, 294.209, 294.896, 296.025, 297.021,
              298.175, 299.927, 300.413, 301.383, 302.258, 302.238, 302.359, 300.636, 302.307,
              301.575, 300.523, 299.907, 300.134, 301.103, 301.659, 301.143, 300.025, 298.762,
              298.244, 298.071, 297.261, 296.878, 296.8, 296.656, 293.951, 295.059, 296.11, 297.323,
              296.77, 296.799, 290.697, 282.663, 274.776, 265.638, 258.641, 252.689, 248.897,
              246.558, 246.181, 245.174, 244.923, 244.032, 244.064, 244.23, 244.259, 244.64,
              244.272, 244.537, 244.085, 244.358, 244.671, 244.56, 244.827, 243.95, 244.466,
              244.701, 244.731, 244.662, 244.746, 244.935, 244.853, 245.027, 245.145, 245.073,
              245.908, 245.384, 245.568, 246.179, 246.655, 245.539, 245.393, 245.817, 244.863,
              244.576, 244.691, 244.511, 245.106, 245.297, 245.302
            ],
            type: 'line',
            smooth: true,
            lineStyle: {
              color: '#4E7DD0',
              width: 3
            },
            symbol: 'circle',
            symbolSize: 10,
            itemStyle: {
              color: '#ffffff',
              borderColor: '#4E7DD0',
              borderWidth: 2,
              shadowColor: 'rgba(255, 255, 255, 0.8)',
              shadowBlur: 10
            },
            areaStyle: {
              color: {
                type: 'linear',
                x: 0,
                y: 0,
                x2: 0,
                y2: 1,
                colorStops: [
                  {
                    offset: 0,
                    color: 'rgba(78, 125, 208, 0.3)'
                  },
                  {
                    offset: 1,
                    color: 'rgba(78, 125, 208, 0)'
                  }
                ]
              }
            }
          }
        ]
      }
    case 2:
      return {
        // backgroundColor: '#404040',
        backgroundColor: '#fff',
        grid: {
          left: '5%',
          right: '10%',
          bottom: '20%',
          top: '20%'
        },
        tooltip: {
          trigger: 'axis',
          // backgroundColor: 'rgba(255, 255, 255, 0.8)',
          // borderColor: '#4E7DD0',
          formatter: function (params) {
            const kmValue = (params[0].axisValue / 1000).toFixed(3)
            return `里程：${kmValue} km<br/>高程：${params[0].data} m`
          },
          textStyle: {
            color: '#333'
          }
        },
        title: {
          text: '百克-701#站D377管道高程图',
          textStyle: {
            // color: '#fff',
            fontSize: 16
          },
          top: 0,
          left: 'center'
        },
        xAxis: {
          type: 'category',
          name: '里程(km)',
          nameTextStyle: {
            // color: '#fff',
            fontSize: 14,
            padding: [0, 0, 10, 0]
          },
          data: [
            0.0, 32.8620000000301, 81.1370000000315, 131.118000000031, 181.114000000031,
            231.07600000003, 281.054000000033, 331.048000000032, 380.999000000033, 431.009000000035,
            480.979000000036, 530.968000000037, 580.931000000041, 630.94800000004, 680.920000000042,
            730.921000000038, 780.908000000039, 830.873000000036, 880.852000000035,
            930.842000000033, 980.844000000034, 1030.84400000003, 1080.82200000004,
            1130.80700000004, 1180.82000000004, 1230.81400000003, 1280.80500000004,
            1330.81600000004, 1380.81100000004, 1430.80000000004, 1480.83800000004,
            1530.84000000004, 1580.83700000004, 1730.82300000004, 1980.78800000004,
            2030.83400000004, 2080.84000000004, 2130.83900000004, 2180.85500000005,
            2230.88200000005, 2280.88100000005, 2330.90600000005, 2380.94200000005,
            2430.94900000005, 2480.96100000005, 2530.96800000005, 2580.95700000005,
            2630.96500000005, 2680.97700000006, 2731.00100000005, 2780.99000000006,
            2831.01400000005, 2881.00900000006, 2931.01500000006, 2981.01000000006,
            3031.01900000006, 3081.01400000006, 3131.00600000006, 3180.99900000006,
            3231.00600000006, 3281.11500000006, 3331.13400000006, 3381.13700000005,
            3431.13300000005, 3481.15200000005, 3531.16800000006, 3581.15800000005,
            3631.17700000005, 3681.19700000005, 3731.20600000005, 3781.21000000005,
            3831.19000000005, 3881.21500000005, 3931.20400000006, 3981.20900000005,
            4031.21100000005, 4081.20600000006, 4131.18200000006, 4181.19700000006,
            4231.17900000006, 4281.19100000006, 4331.18300000006, 4381.16300000007,
            4431.15300000006, 4481.13900000006, 4531.13100000006, 4581.13500000006,
            4631.11600000006, 4681.12600000006, 4731.13300000006, 4781.12200000006,
            4831.11900000006, 4881.12800000006, 4931.13100000006, 4981.12700000006,
            5031.13400000006, 5081.12200000005, 5131.12400000005, 5181.12300000006,
            5231.12600000005, 5281.10100000005, 5331.08500000005, 5381.08300000005,
            5431.07000000005, 5481.06300000005, 5531.05800000006, 5581.05500000006,
            5631.03800000006, 5681.05200000006, 5731.05900000006, 5781.04300000006,
            5831.03100000005, 5881.00900000006, 5930.98500000006, 5981.00600000006,
            6031.00200000006, 6081.00900000006, 6130.99200000006, 6180.99400000006,
            6231.00100000005, 6281.00900000006, 6330.99500000005, 6380.99300000005,
            6431.00200000005, 6480.98700000005, 6530.98500000005, 6580.98700000005,
            6630.99900000005, 6680.96300000005, 6730.95600000006, 6780.96800000006,
            6830.96500000006, 6880.98200000006, 6930.98900000006, 6980.98000000006,
            7030.97600000006, 7080.97500000006, 7130.99400000006, 7181.01300000006,
            7230.99700000006, 7280.98600000006, 7330.99200000006, 7381.00300000006,
            7431.02600000006, 7481.03000000006, 7531.07100000006, 7581.07200000006,
            7631.10500000006, 7681.13700000006, 7731.12200000006, 7781.11900000006,
            7831.11700000006, 7881.13000000006, 7931.14500000006, 7981.14600000006,
            8031.17500000006, 8081.19300000006, 8131.20700000006, 8181.20800000006,
            8231.20800000006, 8281.24300000006, 8331.25500000006, 8381.26000000006,
            8431.27400000006, 8481.31100000006, 8531.34100000006, 8581.34900000006,
            8631.36500000006, 8681.39700000006, 8731.44000000006, 8781.47300000006,
            8831.47600000006, 8881.48300000006, 8931.51700000006, 8981.54900000006,
            9031.54800000006, 9081.58500000006, 9131.59200000006, 9181.59700000005,
            9231.58200000005, 9281.61600000005, 9331.64100000005, 9381.65000000005,
            9431.64300000005, 9481.62900000005, 9531.64300000005, 9581.69600000005,
            9631.70800000006, 9681.74000000006, 9731.73800000006, 9781.76000000005,
            9831.80100000005, 9881.80900000005, 9931.80000000005, 9981.80300000005, 10031.823,
            10081.843, 10131.881, 10181.879, 10231.872, 10281.875, 10331.874, 10381.887, 10431.901,
            10481.891, 10531.877, 10581.866, 10631.841, 10681.826, 10731.827, 10781.822, 10831.808,
            10881.792, 10931.787, 10981.781, 11031.79, 11081.792, 11131.789, 11181.81, 11231.818,
            11281.817, 11331.835, 11381.814, 11431.802, 11481.793, 11531.79, 11581.805, 11631.821,
            11681.805, 11731.8, 11781.799, 11831.8220000001, 11881.8320000001, 11931.8480000001,
            11981.8700000001, 12031.8770000001, 12081.9120000001, 12131.9270000001,
            12181.9460000001, 12231.9680000001, 12282.013, 12332.062, 12382.082, 12432.085,
            12482.11, 12532.114, 12582.133, 12632.171, 12682.208, 12732.232, 12782.259, 12832.279,
            12882.313, 12932.348, 12982.367, 13032.391, 13082.426, 13132.42, 13182.451, 13232.466,
            13282.475, 13332.506, 13382.523, 13432.566, 13482.618, 13532.66, 13582.681, 13632.688,
            13682.705, 13732.708, 13782.718, 13832.774, 13882.778, 13932.792, 13982.809, 14032.841,
            14082.883, 14132.898, 14182.91, 14232.929, 14282.928, 14332.963, 14382.987, 14433.01,
            14483.071, 14533.082, 14583.12, 14633.142, 14683.174, 14733.22, 14783.248, 14833.281,
            14883.284, 14933.301, 14983.321, 15033.351, 15083.363, 15133.41, 15183.415, 15233.444,
            15283.499, 15333.534, 15383.548, 15433.574, 15483.607, 15533.638, 15583.674, 15633.705,
            15683.707, 15733.727, 15783.765, 15833.783, 15883.777, 15933.77, 15983.78, 16033.789,
            16083.799, 16133.79, 16183.827, 16233.822, 16283.81, 16333.8, 16383.806, 16433.833,
            16483.862, 16533.877, 16583.891, 16633.908, 16683.903, 16733.932, 16783.954, 16833.954,
            16883.935, 16933.935, 16983.97, 17034.006, 17084.016, 17134.021, 17184.022, 17234.043,
            17284.053, 17334.047, 17384.055, 17434.047, 17484.027, 17534.024, 17584.051, 17634.035,
            17684.05, 17734.085, 17784.068, 17834.149, 17884.17, 17934.183, 17984.166, 18034.168,
            18084.198, 18134.193, 18184.199, 18234.22, 18284.229, 18334.268, 18384.278, 18434.305,
            18484.313, 18534.329, 18584.338, 18634.349, 18684.356, 18734.387, 18784.396, 18834.39,
            18884.392, 18934.402, 18984.428, 19034.442, 19084.458, 19134.47, 19184.458, 19234.478,
            19284.476, 19334.493, 19384.509, 19434.535, 19484.523, 19534.556, 19584.561, 19634.57,
            19684.593, 19734.621, 19784.631, 19834.669, 19884.68, 19934.68, 19984.689, 20034.679,
            20084.712, 20134.689, 20184.684, 20234.671, 20284.694, 20334.71, 20384.74, 20434.721,
            20484.724, 20534.697, 20584.696, 20634.684, 20684.683, 20734.714, 20784.721, 20834.71,
            20884.706, 20934.699, 20984.699, 21034.719, 21084.734, 21134.704, 21184.709, 21234.712,
            21284.706, 21334.709, 21384.714, 21434.71, 21484.727, 21534.743, 21584.752, 21634.794,
            21684.814, 21734.825, 21784.823, 21834.837, 21884.841, 21984.863, 22034.868, 22084.877,
            22134.906, 22184.937, 22234.933, 22284.954, 22334.978, 22384.992, 22435.019, 22485.034,
            22535.043, 22585.045, 22635.028, 22685.009, 22735.003, 22785.01, 22835.022, 22885.01,
            22935.001, 22985.009, 23035.004, 23084.999, 23134.982, 23184.975, 23234.969, 23284.961,
            23334.952, 23384.954, 23434.943, 23484.958, 23534.958, 23584.966, 23634.968, 23684.963,
            23734.965, 23784.963, 23834.966, 23884.955, 23934.937, 23984.942, 24034.939, 24084.949,
            24134.957, 24184.969, 24234.984, 24284.973, 24334.977, 24384.973, 24434.958, 24466.509,
            24516.512, 24566.513, 24616.497, 24666.524, 24716.526, 24766.515, 24816.503, 24866.505,
            24916.512, 24966.522, 25016.53, 25066.542, 25116.538, 25166.55, 25216.574, 25266.557,
            25316.567, 25366.599, 25416.613, 25466.622, 25516.629, 25566.644, 25616.636, 25666.646,
            25716.639, 25766.641, 25816.667, 25866.677, 25916.691, 25966.702, 26016.746, 26066.78,
            26116.784, 26166.8, 26216.838, 26266.837, 26316.867, 26366.889, 26416.908, 26466.925,
            26516.923, 26566.929, 26616.937, 26666.974, 26716.989, 26766.995, 26817.012, 26867.052,
            26917.087, 26967.096, 27017.11, 27067.115, 27117.112, 27167.108, 27217.131, 27267.145,
            27317.158, 27367.142, 27417.153, 27467.143, 27517.163, 27567.18, 27617.213, 27667.226,
            27717.234, 27767.245, 27817.279, 27867.315, 27917.303, 27967.296, 28017.298, 28067.306,
            28117.33, 28167.346, 28217.345, 28267.354, 28317.348, 28367.331, 28417.343, 28467.336,
            28517.355, 28567.366, 28617.361, 28667.366, 28717.354, 28767.358, 28817.35, 28867.339,
            28917.344, 28967.343, 29017.337, 29067.323, 29117.321, 29167.32, 29217.326, 29267.318,
            29317.306, 29367.294, 29417.285, 29467.292, 29517.274, 29567.281, 29617.286, 29667.291,
            29717.278, 29767.293, 29817.338, 29867.335, 29917.347, 29967.361, 30017.359, 30067.352,
            30117.368, 30167.362, 30217.368, 30267.365, 30317.367, 30367.367, 30417.371, 30467.364,
            30517.351, 30567.368, 30617.389, 30667.366, 30717.378, 30767.405, 30817.43, 30867.434,
            30917.426, 30967.418, 31017.409, 31067.427, 31117.419, 31167.42, 31217.443, 31267.437,
            31317.433, 31367.45, 31417.473, 31467.502, 31517.53, 31567.546, 31617.577, 31667.614,
            31717.618, 31767.633, 31817.634, 31867.66, 31917.669, 31967.671, 32017.687, 32067.699,
            32117.734, 32167.738, 32217.757, 32267.768, 32317.805, 32367.815, 32417.83, 32467.826,
            32517.851, 32567.865, 32617.887, 32667.902, 32767.9, 32817.925, 32867.941, 33367.885,
            33417.897, 33467.9, 33517.951, 33567.984, 33618.003, 33668.033, 33718.035, 33768.035,
            33818.039, 33868.041, 33918.048, 33968.045, 34018.048, 34068.041, 34118.041, 34168.046,
            34218.037, 34268.023, 34318.018, 34368.014, 34418.01, 34468.002, 34518.017, 34568.018,
            34618.019, 34668.014, 34718.017, 34768.012, 34818.014, 34868.01, 34918.01, 34968.018,
            35018.011, 35068.008, 35118.012, 35168.013, 35218.026, 35268.031, 35318.027, 35368.026,
            35418.017, 35468.012, 35518.014, 35568.009, 35618.023, 35668.04, 35718.05, 35768.039,
            35818.042, 35868.041, 35918.053, 35968.042, 36018.035, 36068.029, 36118.017, 36168.025,
            36218.024, 36268.017, 36318.023, 36368.019, 36418.066, 36468.072, 36518.1, 36568.114,
            36618.121, 36668.142, 36718.164, 36768.2, 36818.199, 36868.222, 36918.241, 36968.267,
            37018.28, 37068.283, 37118.276, 37168.29, 37218.311, 37268.316, 37318.341, 37368.363,
            37418.355, 37468.374, 37518.397, 37568.418, 37618.461, 37668.468, 37718.512, 37768.519,
            37818.524, 37868.521, 37918.518, 37968.508, 38018.228, 38068.228, 38118.225, 38168.242,
            38218.241, 38268.236, 38318.249, 38368.284, 38418.289, 38468.299, 38518.293, 38568.317,
            38618.321, 38668.321, 38718.308, 38768.33, 38818.364, 38868.388, 38918.389, 38968.394,
            39018.412, 39068.431, 39118.433, 39168.428, 39218.448, 39268.425, 39318.45, 39368.451,
            39418.445, 39468.455, 39518.466, 39568.472, 39618.485, 39668.527, 39718.538, 39768.569,
            39818.568, 39868.57, 39918.581, 39968.598, 40018.593, 40068.591, 40118.597, 40168.614,
            40218.614, 40268.648, 40318.644, 40368.638, 40418.65, 40468.668, 40518.666, 40568.694,
            40618.719, 40668.716, 40718.724, 40768.729, 40818.743, 40868.759, 40918.804, 40968.805,
            41018.794, 41068.811, 41118.849, 41168.86, 41218.871, 41318.87, 41368.855, 41418.862,
            41468.86, 41518.87, 41568.865, 41618.861, 41668.849, 41718.852, 41768.856, 41818.852,
            41868.85, 41918.856, 41968.846, 42018.851, 42068.868, 42142.361, 42192.356, 42242.367,
            42292.371, 42342.395, 42392.393, 42442.393, 42492.394, 42542.398, 42592.389, 42642.39,
            42692.402, 42742.401, 42792.402, 42842.405, 42892.41, 42942.427, 42992.434, 43042.434,
            43092.463, 43142.468, 43192.477, 43242.5, 43292.512, 43342.525, 43392.534, 43442.547,
            43492.535, 43542.571, 43592.589, 43642.622, 43692.637, 43742.661, 43792.666, 43842.689,
            43892.712, 43942.714, 43992.701, 44042.722, 44092.745, 44142.76, 44192.771, 44242.782,
            44292.793, 44342.819, 44392.824, 44442.817, 44492.822, 44542.839, 44592.848, 44642.841,
            44692.841, 44742.854, 44792.857, 44842.865, 44892.882, 44942.88, 44992.883, 45042.888,
            45092.888, 45142.891, 45192.93, 45242.96, 45292.959, 45342.976
          ],
          axisLabel: {
            // color: '#fff',
            fontSize: 12,
            interval: 100,
            formatter: function (value) {
              const num = parseFloat(value)
              return isNaN(num) ? value : num.toFixed(1)
            }
          },
          axisLine: {
            lineStyle: {
              // color: '#fff',
              width: 2
            }
          },
          splitLine: {
            show: true,
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)',
              type: 'dashed'
            }
          }
        },
        yAxis: {
          type: 'value',
          name: '高程(m)',
          nameTextStyle: {
            // color: '#fff',
            fontSize: 14,
            padding: [0, 0, 10, 0]
          },
          min: function (value) {
            return Math.floor(value.min - 2)
          },
          max: function (value) {
            return Math.ceil(value.max + 2)
          },
          interval: 5,
          axisLabel: {
            // color: '#fff',
            fontSize: 12,
            formatter: function (value) {
              return value.toFixed(0)
            }
          },
          axisLine: {
            lineStyle: {
              // color: '#fff',
              width: 2
            }
          },
          splitLine: {
            show: true,
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)',
              type: 'dashed'
            }
          }
        },
        series: [
          {
            data: [
              318.105, 318.105, 317.95, 318.149, 318.282, 318.34, 317.955, 318.105, 317.455, 317.16,
              317.382, 317.314, 316.45, 315.926, 315.593, 316.305, 315.249, 314.96, 315.004, 314.99,
              314.635, 314.863, 314.664, 314.496, 314.689, 314.794, 313.977, 313.574, 313.37,
              313.493, 313.893, 313.331, 313.637, 312.499, 312.854, 312.435, 312.034, 312.129,
              312.252, 312.001, 311.508, 310.934, 310.856, 311.066, 310.47, 310.335, 310.206,
              309.696, 308.899, 308.437, 308.754, 309.343, 309.359, 309.641, 309.913, 309.007,
              309.813, 309.828, 309.4, 308.944, 307.278, 307.762, 307.453, 307.243, 307.099,
              306.714, 307.585, 307.954, 307.324, 306.439, 306.441, 306.223, 305.868, 305.297,
              305.697, 305.535, 305.348, 304.932, 304.901, 304.563, 304.434, 303.957, 304.205,
              304.042, 303.9, 303.99, 303.135, 303.643, 303.481, 303.365, 303.316, 302.702, 302.518,
              302.499, 302.373, 301.579, 301.657, 302.17, 301.369, 302.253, 302.215, 302.236,
              301.62, 301.725, 300.151, 299.79, 299.746, 299.51, 299.502, 299.422, 298.906, 298.952,
              298.566, 298.486, 297.857, 297.784, 297.829, 297.343, 297.134, 297.122, 296.86,
              297.479, 296.998, 296.495, 296.497, 296.497, 296.148, 295.273, 295.667, 295.412,
              295.683, 295.062, 294.64, 294.842, 293.967, 293.767, 294.004, 293.83, 293.489,
              293.447, 293.13, 292.604, 292.505, 292.37, 292.23, 292.102, 291.95, 291.542, 291.44,
              291.839, 292.264, 291.304, 291.733, 291.384, 289.913, 288.129, 286.674, 287.154,
              288.975, 288.571, 286.397, 283.133, 282.434, 282.413, 282.505, 282.413, 282.67,
              282.348, 282.493, 282.473, 282.134, 281.978, 281.712, 281.538, 281.399, 281.148,
              281.115, 281.015, 280.525, 280.428, 280.257, 279.797, 280.045, 279.839, 279.582,
              279.808, 279.576, 279.392, 279.217, 278.816, 278.562, 278.654, 278.445, 278.117,
              278.017, 277.156, 276.449, 276.445, 276.2, 275.746, 275.704, 275.365, 274.983,
              274.905, 274.262, 274.438, 274.327, 274.0, 273.893, 273.305, 273.132, 273.047,
              272.074, 272.064, 271.925, 271.23, 271.32, 270.966, 270.369, 269.962, 269.344, 269.24,
              268.916, 268.789, 268.513, 268.802, 268.693, 268.396, 267.606, 268.623, 268.604,
              268.269, 268.092, 268.5, 268.136, 267.844, 267.654, 267.876, 267.76, 268.353, 267.977,
              268.285, 267.829, 267.884, 267.752, 267.529, 267.498, 267.08, 267.066, 267.068,
              267.299, 267.372, 267.405, 267.217, 268.188, 270.68, 272.358, 272.171, 271.017,
              270.127, 269.303, 268.609, 268.744, 268.678, 268.312, 268.724, 268.501, 269.279,
              269.91, 269.142, 269.564, 269.356, 269.249, 269.247, 269.264, 269.142, 269.071,
              269.234, 269.46, 270.601, 270.586, 269.99, 269.389, 268.425, 268.039, 267.885,
              268.079, 267.458, 267.849, 267.735, 267.706, 267.772, 267.94, 267.905, 267.931,
              268.534, 268.681, 268.833, 269.187, 269.276, 269.82, 270.308, 270.389, 270.713,
              271.126, 270.695, 270.696, 271.204, 269.995, 270.561, 270.147, 270.572, 270.275,
              269.642, 269.703, 269.259, 268.955, 268.406, 267.817, 267.448, 267.88, 267.771,
              267.611, 269.109, 271.173, 271.123, 270.696, 270.169, 269.778, 269.188, 267.815,
              267.805, 268.324, 267.041, 266.726, 265.433, 265.4, 265.407, 264.889, 265.154,
              266.171, 265.417, 265.043, 265.053, 265.119, 265.832, 266.462, 266.501, 266.744,
              266.758, 267.282, 266.767, 266.465, 266.038, 265.752, 265.24, 266.251, 265.666,
              265.679, 265.909, 264.848, 265.749, 266.354, 266.134, 266.05, 265.792, 265.865,
              266.154, 266.221, 265.942, 265.563, 265.879, 266.029, 265.313, 267.915, 266.594,
              267.606, 267.336, 267.523, 267.341, 265.692, 265.673, 265.522, 265.146, 265.977,
              265.417, 266.344, 265.414, 265.455, 265.616, 265.39, 265.305, 264.766, 264.923,
              265.046, 265.568, 265.36, 265.445, 265.337, 265.207, 266.096, 266.176, 265.397,
              266.981, 265.641, 265.575, 265.721, 265.676, 265.999, 266.09, 266.499, 266.805,
              266.794, 267.376, 267.937, 267.555, 268.394, 267.859, 267.99, 267.967, 268.278,
              268.096, 268.185, 267.782, 267.892, 267.96, 268.928, 269.817, 269.981, 270.794,
              268.587, 268.336, 268.446, 266.603, 266.666, 266.072, 266.032, 265.334, 264.969,
              264.547, 264.861, 264.61, 264.878, 264.981, 264.444, 264.457, 264.379, 264.614,
              264.613, 264.944, 264.734, 265.563, 265.356, 264.642, 264.581, 264.691, 264.725,
              264.746, 265.154, 264.967, 265.244, 264.932, 265.247, 264.524, 264.733, 265.13,
              265.293, 265.425, 265.237, 265.327, 265.238, 264.928, 264.787, 264.97, 264.947,
              265.156, 265.403, 265.609, 265.964, 267.78, 267.47, 266.383, 267.337, 268.437,
              267.467, 266.598, 266.549, 266.616, 266.297, 266.194, 266.651, 265.184, 264.905,
              265.522, 265.205, 265.349, 265.104, 265.829, 265.608, 265.758, 264.53, 264.49,
              265.074, 264.828, 265.044, 265.207, 266.223, 265.322, 265.592, 265.215, 266.601,
              265.253, 265.632, 265.878, 265.344, 265.13, 265.402, 265.275, 265.14, 264.751,
              264.812, 264.305, 265.252, 264.392, 264.834, 264.403, 264.743, 264.534, 264.636,
              265.21, 265.271, 264.937, 264.948, 264.929, 265.128, 265.039, 264.642, 264.968,
              264.505, 264.76, 264.705, 264.465, 264.561, 264.406, 264.348, 264.46, 264.263,
              264.418, 264.364, 264.666, 264.243, 264.255, 264.444, 264.045, 264.131, 264.265,
              264.139, 264.48, 264.412, 264.241, 264.417, 264.509, 264.443, 264.3, 264.179, 264.506,
              264.329, 264.33, 264.371, 264.723, 264.425, 264.311, 264.509, 264.803, 264.53,
              265.287, 264.978, 265.66, 265.634, 268.216, 268.883, 269.716, 269.438, 270.254,
              268.274, 265.936, 266.083, 265.519, 264.853, 264.872, 265.236, 265.792, 264.467,
              264.653, 265.095, 264.402, 264.275, 264.366, 264.109, 263.945, 264.38, 264.287,
              264.487, 264.542, 264.116, 264.314, 264.223, 264.07, 264.035, 264.276, 263.922,
              264.167, 263.916, 263.803, 264.072, 264.151, 264.193, 264.162, 263.858, 263.748,
              264.168, 265.915, 263.407, 263.751, 264.124, 263.371, 263.254, 263.386, 263.642,
              263.446, 263.446, 263.565, 263.567, 263.234, 263.196, 263.202, 263.919, 263.513,
              263.451, 263.611, 263.29, 263.469, 264.706, 264.089, 263.743, 263.639, 263.643,
              263.791, 264.552, 263.908, 263.78, 264.009, 264.185, 264.128, 264.723, 264.369,
              264.352, 264.124, 263.995, 264.32, 263.915, 263.827, 264.144, 264.223, 264.427,
              264.549, 264.562, 264.769, 264.981, 265.148, 264.437, 264.828, 264.495, 264.801,
              264.567, 264.341, 264.879, 264.658, 264.683, 264.595, 264.688, 264.636, 264.747,
              264.314, 264.345, 264.709, 264.494, 264.808, 265.052, 265.418, 264.531, 264.592,
              264.136, 264.841, 264.622, 264.683, 264.61, 264.445, 264.584, 264.611, 264.586,
              264.392, 264.556, 264.82, 264.667, 264.647, 264.825, 264.56, 264.704, 264.956,
              264.792, 264.574, 264.539, 264.621, 264.509, 264.173, 264.722, 264.152, 264.038,
              264.078, 264.147, 264.86, 264.735, 264.62, 264.387, 264.379, 264.509, 264.074,
              264.512, 265.014, 265.07, 264.511, 265.018, 264.613, 264.707, 265.287, 265.186,
              264.664, 264.969, 265.476, 264.982, 264.952, 265.265, 265.087, 264.949, 265.353,
              265.141, 266.547, 265.239, 265.113, 265.307, 265.557, 265.343, 265.117, 264.991,
              264.998, 264.949, 265.068, 265.229, 265.775, 265.031, 266.729, 265.212, 265.707,
              265.344, 265.765, 265.652, 265.246, 265.804, 265.757, 265.706, 265.569, 265.991,
              265.533, 264.921, 265.872, 267.442, 266.621, 265.868, 265.914, 265.613, 265.767,
              265.838, 265.894, 266.012, 265.665, 265.506, 265.676, 265.937, 265.823, 266.516,
              265.845, 265.534, 266.116, 265.786, 265.644, 266.178, 266.215, 266.166, 266.605,
              266.39, 266.444, 266.756, 266.817, 266.608, 266.827, 267.209, 268.472, 266.961,
              267.463, 267.34, 267.003, 267.368, 267.224, 267.33, 267.745, 267.764, 267.434,
              267.546, 267.895, 267.734, 268.126, 268.171, 268.095, 268.423, 268.563, 268.549,
              269.06, 268.503, 268.794, 268.705, 268.651, 268.66, 269.003, 268.659, 269.296,
              269.477, 269.583, 269.638, 269.716, 269.527, 269.65, 270.169, 269.665, 269.921,
              269.98, 269.958, 270.312, 271.002, 270.39, 269.895, 269.971, 270.138, 270.143,
              270.206, 271.487, 269.883, 270.15, 270.278, 270.969, 271.369, 271.196, 271.06,
              271.447, 271.997, 271.454, 270.996, 271.308, 273.847, 273.717, 273.557, 273.695,
              273.559, 273.645, 273.671, 273.806, 273.541, 273.737, 273.359, 273.505, 273.097,
              273.552, 273.572, 273.656, 273.929, 274.704, 275.125, 274.889, 276.345, 280.098
            ],
            type: 'line',
            smooth: true,
            lineStyle: {
              color: '#4E7DD0',
              width: 3
            },
            symbol: 'circle',
            symbolSize: function (dataItem, params) {
              if (params.dataIndex % 1000 === 0) {
                return 8
              }
              return 2
            },
            itemStyle: {
              color: '#ffffff',
              borderColor: '#4E7DD0',
              borderWidth: 2,
              shadowColor: 'rgba(255, 255, 255, 0.8)',
              shadowBlur: 10
            },
            areaStyle: {
              color: {
                type: 'linear',
                x: 0,
                y: 0,
                x2: 0,
                y2: 1,
                colorStops: [
                  {
                    offset: 0,
                    color: 'rgba(78, 125, 208, 0.3)'
                  },
                  {
                    offset: 1,
                    color: 'rgba(78, 125, 208, 0)'
                  }
                ]
              }
            }
          }
        ]
      }
    case 3:
      return {
        // backgroundColor: '#404040',
        backgroundColor: '#fff',
        grid: {
          left: '5%',
          right: '10%',
          bottom: '20%',
          top: '20%'
        },
        tooltip: {
          trigger: 'axis',
          // backgroundColor: 'rgba(255, 255, 255, 0.8)',
          // borderColor: '#4E7DD0',
          formatter: function (params) {
            const stations = [
              '701油库',
              '东八街',
              '三坪镇水渠',
              '三厂小学公路',
              '试油处公路',
              '宝硕公路',
              '克石化路',
              '克石化路',
              '加油站旁',
              '油气储运公司路',
              '三叶公司路',
              '总站'
            ]
            return `里程：${params[0].axisValue} km (${stations[params[0].dataIndex]})<br/>高程：${params[0].data} m`
          },
          textStyle: {
            color: '#333'
          }
        },
        title: {
          text: '701#-总站D377原油管道（新线）高程图',
          textStyle: {
            // color: '#fff',
            fontSize: 16
          },
          top: 0,
          left: 'center'
        },
        xAxis: {
          type: 'category',
          name: '里程(km)',
          data: [0, 0.151, 0.365, 0.9, 1.06, 3.83, 6.44, 7.73, 8.12, 8.77, 8.95, 10.2],
          axisLabel: {
            // color: '#fff',
            fontSize: 12,
            interval: 0,
            formatter: function (value, index) {
              const stations = [
                '701油库',
                '东八街',
                '三坪镇水渠',
                '三厂小学公路',
                '试油处公路',
                '宝硕公路',
                '克石化路',
                '克石化路',
                '加油站旁',
                '油气储运公司路',
                '三叶公司路',
                '总站'
              ]
              const station = stations[index]
              const formattedStation = station.replace(/(.{4})/g, '$1\n')
              return `${value}\n\n${formattedStation}`
            }
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        yAxis: {
          type: 'value',
          name: '高程(m)',
          nameTextStyle: {
            // color: '#fff',
            fontSize: 14,
            padding: [0, 0, 10, 0]
          },
          axisLabel: {
            // color: '#fff',
            fontSize: 12
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        series: [
          {
            data: [275, 277, 278, 277, 275, 277, 272, 280.489, 274, 273, 275, 277],
            type: 'line',
            smooth: true,
            lineStyle: {
              color: '#4E7DD0',
              width: 3
            },
            symbol: 'circle',
            symbolSize: 10,
            itemStyle: {
              color: '#ffffff',
              borderColor: '#4E7DD0',
              borderWidth: 2,
              shadowColor: 'rgba(255, 255, 255, 0.8)',
              shadowBlur: 10
            },
            areaStyle: {
              color: {
                type: 'linear',
                x: 0,
                y: 0,
                x2: 0,
                y2: 1,
                colorStops: [
                  {
                    offset: 0,
                    color: 'rgba(78, 125, 208, 0.3)'
                  },
                  {
                    offset: 1,
                    color: 'rgba(78, 125, 208, 0)'
                  }
                ]
              }
            }
          }
        ]
      }
    case 4:
      return {
        // backgroundColor: '#404040',
        backgroundColor: '#fff',
        grid: {
          left: '5%',
          right: '10%',
          bottom: '20%',
          top: '20%'
        },
        tooltip: {
          trigger: 'axis',
          // backgroundColor: 'rgba(255, 255, 255, 0.8)',
          // borderColor: '#4E7DD0',
          formatter: function (params) {
            const stations = [
              '出81站点',
              '1km测试桩点',
              '2km测试桩点',
              '3km测试桩点',
              '4km测试桩点',
              '5km测试桩点',
              '6km测试桩点',
              '7km测试桩点',
              '8km测试桩点',
              '9km���试桩点',
              '10km测试桩点',
              '11km测试桩点',
              '12km测试桩点',
              '13km测试桩点',
              '14km测试桩点',
              '进701站点'
            ]
            return `里程：${params[0].axisValue} km (${stations[params[0].dataIndex]})<br/>高程：${params[0].data} m`
          },
          textStyle: {
            color: '#333'
          }
        },
        title: {
          text: '81#-701#原油管道高程图',
          textStyle: {
            // color: '#fff',
            fontSize: 16
          },
          top: 0,
          left: 'center'
        },
        xAxis: {
          type: 'category',
          name: '里程(km)',
          data: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
          axisLabel: {
            // color: '#fff',
            fontSize: 12,
            interval: 0,
            formatter: function (value, index) {
              const stations = [
                '出81站点',
                '1km测试桩点',
                '2km测试桩点',
                '3km测试桩点',
                '4km测试桩点',
                '5km测试桩点',
                '6km测试桩点',
                '7km测试桩点',
                '8km测试桩点',
                '9km测试桩点',
                '10km测试桩点',
                '11km测试桩点',
                '12km测试桩点',
                '13km测试桩点',
                '14km测试桩点',
                '进701站点'
              ]
              const station = stations[index]
              const formattedStation = station.replace(/(.{4})/g, '$1\n')
              return `${value}\n\n${formattedStation}`
            }
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        yAxis: {
          type: 'value',
          name: '高程(m)',
          nameTextStyle: {
            // color: '#fff',
            fontSize: 14,
            padding: [0, 0, 10, 0]
          },
          axisLabel: {
            // color: '#fff',
            fontSize: 12
          },
          axisLine: {
            lineStyle: {
              // color: '#fff'
            }
          },
          splitLine: {
            lineStyle: {
              color: 'rgba(255, 255, 255, 0.1)'
            }
          }
        },
        series: [
          {
            data: [
              268.6, 266.1, 267.5, 268.1, 266.5, 266.3, 269.7, 267.3, 268, 269.1, 269.7, 270.2,
              271.5, 272.4, 277.2, 280.2
            ],
            type: 'line',
            smooth: true,
            lineStyle: {
              color: '#4E7DD0',
              width: 3
            },
            symbol: 'circle',
            symbolSize: 10,
            itemStyle: {
              color: '#ffffff',
              borderColor: '#4E7DD0',
              borderWidth: 2,
              shadowColor: 'rgba(255, 255, 255, 0.8)',
              shadowBlur: 10
            },
            areaStyle: {
              color: {
                type: 'linear',
                x: 0,
                y: 0,
                x2: 0,
                y2: 1,
                colorStops: [
                  {
                    offset: 0,
                    color: 'rgba(78, 125, 208, 0.3)'
                  },
                  {
                    offset: 1,
                    color: 'rgba(78, 125, 208, 0)'
                  }
                ]
              }
            }
          }
        ]
      }
  }
}
